const mongoose = require('mongoose'),
    Schema = mongoose.Schema;

let moneySchema = new Schema({
    openid: String,
    cost: Number,
    status: {   // true 代表还未打款，打过款置为false，表示已处理
      type: Boolean,
      default: true
    }
}, {versionKey: false, timestamps: true});
module.exports = mongoose.model('money', moneySchema);
